package com.powernode.service;

import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.powernode.domain.SmsLog;
import com.powernode.model.SmsModel;
import com.powernode.model.WxMsgModel;
import org.springframework.http.ResponseEntity;

/**
*内容: 
*作者: cy
*/
public interface SmsLogService extends IService<SmsLog>{

    /**
     * 记录阿里大于发送短信
     * @param sendSmsResponse
     * @param smsModel
     */
    void saveSmsLog(SendSmsResponse sendSmsResponse, SmsModel smsModel);

    /**
     * 记录发送微信公众号消息
     * @param wxMsgModel
     * @param result
     */
    void saveWxMsgLog(WxMsgModel wxMsgModel, ResponseEntity<String> result);
}
